package org.jeecg.modules.jxc.basicdata.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yaorange
 * @since 2021-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_goods_type")
public class GoodsType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品类别id，主键
     */
    @TableId(value = "goods_type_id", type = IdType.AUTO)
    private Integer goodsTypeId;

    /**
     * 商品类别名称
     */
    private String goodsTypeName;

    /**
     * 父商品类别id
     */
    private Integer pId;

    /**
     * 类别状态，0为叶子节点
     */
    private Integer goodsTypeState;


}
